The GRIB_INDEX_NEW_FROM_FILE function creates a new index from a file. The file is indexed with Keys.
Result = GRIB_INDEX_NEW_FROM_FILE( Filename, Keys)
Returns a GRIB file index.
A string giving the name of the message file to be indexed.
A string array of keys for the index. For example, 'totalLength:d, editionNumber:l, centre:d'
. The key type can be explicitly declared by appending ':l' for LONG, ':d' for DOUBLE, and ':s' for STRING to the key name. If the type is not declared explicitly, the native type is assumed.
See GRIB_GET_VALUESfor a general example using the GRIB routines.
8.1 |
Introduced |